<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Admin Save User</title>
<%@include file="include/admin-css.jsp"%>
<link rel="stylesheet" href="/resources/DatePicker/datepicker.css">
</head>
<body>
	<%@include file="include/admin-header.jsp"%>
	<%@include file="include/admin-offcanvas.jsp"%>

	<div class="am-cf admin-main am-padding-left-lg default-background">

		<!-- content start -->
		<div class="admin-content">

			<div class="am-cf am-padding">
				<div class="am-fl am-cf">
					<a href="/admin/list"><strong class="am-text-primary am-text-lg">用户列表</strong></a> / 添加新用户
				</div>
			</div>
			<hr />
			<div class="am-g">
				<div class="am-u-sm-16 am-u-md-7 am-u-md-pull">
					<form class="am-form am-form-horizontal" action="/admin/save" method="post">
						<div class="am-form-group">
							<label for="user-email" class="am-u-sm-7 am-form-label">电子邮箱</label>
							<div class="am-u-sm-5">
								<input type="email" id="user-email" name="email" placeholder="电子邮箱">
							</div>
						</div>

						<div class="am-form-group">
							<label for="user-password" class="am-u-sm-7 am-form-label">密码</label>
							<div class="am-u-sm-5">
								<input type="password" id="user-password" name="password" placeholder="密码">
							</div>
						</div>

						<div class="am-form-group">
							<label for="user-realname" class="am-u-sm-7 am-form-label">姓名</label>
							<div class="am-u-sm-5">
								<input type="text" id="user-realname" name="realname" placeholder="姓名">
							</div>
						</div>

						<div class="am-form-group">
							<label for="user-mobile" class="am-u-sm-7 am-form-label">电话号码</label>
							<div class="am-u-sm-5">
								<input type="tel" id="user-mobile" name="mobile" placeholder="电话号码">
							</div>
						</div>

						<div class="am-form-group">
							<label for="user-birthDate" class="am-u-sm-7 am-form-label">出生日期</label>
							<div class="am-u-sm-5">
								<input type="date" id="user-birthDate" name="birthDate" placeholder="出生日期    如:2000-10-10">
							</div>
						</div>

						<div class="am-form-group">
							<label class="am-u-sm-1 am-form-label"></label>
							<div class="am-u-sm-5">
								<input type="submit" value="添加用户" class="am-btn am-btn-primary am-btn-block">
							</div>
						</div>
					</form>
				</div>

			</div>
		</div>
		<!-- content end -->
	</div>

	<%@include file="include/admin-js.jsp"%>
	<script src="/resources/DatePicker/bootstrap-datepicker.js"></script>
	<script type="text/javascript">
		$(function() {
			$('#user-birthDate').datepicker().on('show', function(ev) {
			});
		});
	</script>
</body>
</html>
